package fei.zhou.springboot4.demo4;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 描述该类- JPA
 *
 * @author zhoufei
 * @class: SchedulerConfig
 * @date 2021/1/20 14:36
 * @Verson 1.0 -2021/1/20 14:36
 * @see
 */
@Configuration
@ComponentScan("fei.zhou.springboot4.demo4")
@EnableScheduling // 开启计划任务
public class SchedulerConfig {
    
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(SchedulerConfig.class);
    }
}